//
//  NSObject+BaseFramework.h
//  LotteryClient
//
//  Created by Sunyon 14-3-31.
//  Copyright (c) 2014年 CTTC. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (BaseFramework)

+ (void)swizzleSelector:(SEL)originalSelector withSelector:(SEL)swizzledSelector;

+ (void)swizzleClassSelector:(SEL)originalSelector withSelector:(SEL)swizzledSelector;

@end


@interface NSObject (Interceptor)

@end

@interface NSObject (PropertyList)
/**
 *  将对象转换为NSDictionary（key 属性名称，value属性对应的值）
 *
 *  @return NSDictionary
 */
- (NSDictionary *)getPropertyNameAndValue;

/**
 *  获取类的属性及类型
 *
 *  @return NSDictionary（key 属性名称，value属性类型）
 */
+ (NSDictionary *)getPropertyNameAndTypeDic;

@end
